import  json

#json数据处理

dict1 = {"name" : "zhangsan" , "age" : "18" , "sex" : "男"}
print(json.dumps(dict1))

bool1 = True
